<%--
  Created by IntelliJ IDEA.
  User: yanyi
  Date: 2020/7/26
  Time: 12:35
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
String basePath=request.getScheme()+"://"+
    request.getServerName()+":"+request.getServerPort()+
    request.getContextPath()+"/";
%>
<html>
<head>
    <title>Title</title>
    <base href="<%=basePath%>">
</head>
<body>
<form method="post" action="users/addUser.do">
<table>
    <tr>
        <td>用户名：</td>
        <td><input type="text" name="username"/></td>
    </tr>
    <tr>
        <td>密码：</td>
        <td><input type="password" name="pwd" value="123"/></td>
    </tr>
    <tr>
        <td>地址：</td>
        <td><input type="text" name="addr"></td>
    </tr>
    <tr>
        <td colspan="2" ><input type="submit" value="注册" ></td>
    </tr>
</table>
</form>
</body>
</html>
